package cn.zt.feign;

import cn.zt.common.Result;
import cn.zt.domain.Balance;
import cn.zt.domain.BankCardType;
import cn.zt.domain.Bankcard;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "deposit-service")
public interface BalanceFeign {

    //开户操作,关联添加余额
    @PostMapping("/balance/addbalance")
    int addBalance(Balance balance);

    //开户关联添加银行卡
    @PostMapping("/banckcard/addbankcard")
    int addBankcard(Bankcard bankcard);

    //添加银行卡类型
    @PostMapping("/BankCardType/addbandcardtype")
    int addBankcardType(BankCardType bankCardType);

}
